.class final Lcom/ninesky/browser/view/ay;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private synthetic a:Lcom/ninesky/browser/view/bc;

.field private final synthetic b:[Ljava/lang/Object;


# direct methods
.method constructor <init>(Lcom/ninesky/browser/view/bc;[Ljava/lang/Object;)V
    .locals 0

    iput-object p1, p0, Lcom/ninesky/browser/view/ay;->a:Lcom/ninesky/browser/view/bc;

    iput-object p2, p0, Lcom/ninesky/browser/view/ay;->b:[Ljava/lang/Object;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final onClick(Landroid/view/View;)V
    .locals 6

    const/4 v5, 0x1

    const/4 v4, 0x0

    iget-object v0, p0, Lcom/ninesky/browser/view/ay;->a:Lcom/ninesky/browser/view/bc;

    iget-object v0, v0, Lcom/ninesky/browser/view/bc;->a:Lcom/ninesky/browser/view/j;

    invoke-static {v0}, Lcom/ninesky/browser/view/j;->d(Lcom/ninesky/browser/view/j;)Lcom/ninesky/widget/l;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ninesky/widget/l;->c()V

    new-instance v1, Landroid/content/Intent;

    iget-object v0, p0, Lcom/ninesky/browser/view/ay;->a:Lcom/ninesky/browser/view/bc;

    iget-object v0, v0, Lcom/ninesky/browser/view/bc;->a:Lcom/ninesky/browser/view/j;

    invoke-static {v0}, Lcom/ninesky/browser/view/j;->b(Lcom/ninesky/browser/view/j;)Lcom/ninesky/browser/BrowserActivity;

    move-result-object v0

    const-class v2, Lcom/ninesky/browser/AddBookmarkActivity;

    invoke-direct {v1, v0, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v2, "url"

    iget-object v0, p0, Lcom/ninesky/browser/view/ay;->b:[Ljava/lang/Object;

    aget-object v0, v0, v4

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string v2, "title"

    iget-object v0, p0, Lcom/ninesky/browser/view/ay;->b:[Ljava/lang/Object;

    aget-object v0, v0, v5

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string v2, "displayorder"

    iget-object v0, p0, Lcom/ninesky/browser/view/ay;->b:[Ljava/lang/Object;

    const/4 v3, 0x2

    aget-object v0, v0, v3

    check-cast v0, Ljava/lang/Integer;

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string v2, "tags"

    iget-object v0, p0, Lcom/ninesky/browser/view/ay;->b:[Ljava/lang/Object;

    const/4 v3, 0x3

    aget-object v0, v0, v3

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string v0, "addDefinedBookmark"

    invoke-virtual {v1, v0, v5}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string v0, "addEditBookmark"

    invoke-virtual {v1, v0, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    iget-object v0, p0, Lcom/ninesky/browser/view/ay;->a:Lcom/ninesky/browser/view/bc;

    iget-object v0, v0, Lcom/ninesky/browser/view/bc;->a:Lcom/ninesky/browser/view/j;

    invoke-static {v0}, Lcom/ninesky/browser/view/j;->b(Lcom/ninesky/browser/view/j;)Lcom/ninesky/browser/BrowserActivity;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/ninesky/browser/BrowserActivity;->startActivity(Landroid/content/Intent;)V

    iget-object v0, p0, Lcom/ninesky/browser/view/ay;->a:Lcom/ninesky/browser/view/bc;

    iget-object v0, v0, Lcom/ninesky/browser/view/bc;->a:Lcom/ninesky/browser/view/j;

    invoke-static {v0}, Lcom/ninesky/browser/view/j;->b(Lcom/ninesky/browser/view/j;)Lcom/ninesky/browser/BrowserActivity;

    move-result-object v0

    const-string v1, "Dashboard"

    const-string v2, "EditQuickBookmark"

    invoke-static {v0, v1, v2}, Lcom/mobclick/android/c;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method
